<template>
	<div class="app-container">
    <el-table border :data="classShowTable" style="width: 100%;">
          <el-table-column type="selection" width="55" align="center" />
          <el-table-column type="index" label="序号" width="55" align="center" prop="index">
            <template slot-scope="scope">
              <span>{{ (getClassQueryInfo.page - 1) * getClassQueryInfo.limit + scope.$index + 1 }}</span>
            </template>
          </el-table-column>
          <el-table-column align="center" label="班级名称" prop="clbum_name" />
          <el-table-column align="center" label="任课老师" prop="instructor_name" />
          <el-table-column align="center" label="班主任" prop="charge_teacher_name" />
          <el-table-column align="center" label="助教老师" prop="assistant_teacher_name" />
          <el-table-column align="center" label="开课时间" prop="begin_time" />
          <el-table-column align="center" label="结课时间" prop="end_time" />
          <el-table-column align="center" label="机构ID" prop="institution_id" />
          <el-table-column align="center" label="操作" width="300">
            <template slot-scope="scope">
              <el-button type="primary" size="small" icon="el-icon-search" @click="see(scope.row)">查看</el-button>
              <el-button type="success" size="small" icon="el-icon-edit" @click="edit(scope.row)">编辑</el-button>
            </template>
          </el-table-column>
        </el-table>
        <el-dialog title="查看" :visible.sync="seeDig">
        	<look :querySem="querySem"></look>
        </el-dialog>
	</div>
</template>

<script>
import { searchClassRoom,getstu,searchJiaocaiID,searchSemeter,addClass,searchClass,searchCourse,getTeacherAPI,chajiaoshikongjianshijian,editClass,deleteClassById,getTimeTable,getShijianduan } from '@/api/studentRecruit.js'
import look from "./look.vue"
export default {
	components:{
		look
	},
	data() {
		return{
      querySem:'',
      seeDig:false,//查看弹框
		}
	},
	created() {
	},
	methods:{
    // 查看
    // see(row) {
    //     console.log(row)
    //     this.seeDig = true
    //     this.querySem = row
    // },
    // 编辑

	},
	props:{
		classShowTable:{
			type:Array,
			default:[],
		},
    getClassInfo:{
    	type:Function,
    	default:() => {}
    }
	}
}
</script>

<style>

</style>
